package com.sync.hkmjsyncdata.pojo.po;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
@TableName("hk_event_record")
public class HkEventRecord {


    @TableId("event_id")
    private String eventId;

    @TableField("usr_nam")
    private String usrNam;

    @TableField("usr_cod")
    private String usrCod;

    @TableField("usr_id_card")
    private String usrIdCard;

    @TableField("phone")
    private String phone;

    @TableField("entrance_type")
    private Integer entranceType;

    @TableField("mjd_nam")
    private String mjdNam;


    @TableField("mjd_id")
    private String mjdId;

    @TableField("entrance_date")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime entranceDate;


    @TableField("update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @TableField("entrance")
    private String entrance;


    @TableField("op_typ")
    private Integer opTyp;

}
